package democore.com.control;

import javax.annotation.Resource;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import com.demoapi.api.IControleService;


@Controller  
@RequestMapping("/user")
public class HelloController{
	@Resource  
	private IControleService controleService ;
	
	@RequestMapping(value="/test.do",method=RequestMethod.GET)  
	public String test(String str) {
		System.err.println("****从busi层进控制层*调用service**************");
		System.err.println("***前台传递的参数***"+str);
		controleService.execute(str);
		return "index";
	}

}
